<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width= , initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <div id="app">
        <h2 v-if="isShow">{{message}}</h2>
        <h1 v-else>isShow为false时显示我</h1>

        <p v-if="score>=90">优秀</p>
        <p  v-else-if="score>=80">良好</p>
        <p  v-else-if="score>=60">及格</p>
        <p  v-else>不及格</p>
    </div>
    <script src="../js/vue.js"></script>
    <script>
         const app = new Vue({
            el: '#app',    
            data: {    
                message: '你好呀',
                isShow: false,
                score: 99
            }
        })
    </script>
</body>
</html>